home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / diff1819.zoo / diff1819.spp next >
Encoding:
Text File  |  1993-08-17  |  842 b   |  33 lines

  1. *** 1.8    1993/08/10 20:46:44
  2. --- syscall.spp    1993/08/17 00:33:52
  3. ***************
  4. *** 14,19 ****
  5. --- 14,20 ----
  6.   ;              via the Psigreturn() system call
  7.   ; _lineA0:     calls the line A initialize routine
  8.   ; _call_aes:   calls the GEM AES
  9. + ; _call_dosound: calls the XBIOS Dosound() function
  10.   ; _do_usrcall: calls a user supplied function (e.g. for Supexec), with
  11.   ;           arguments supplied from global variables usrarg1, usrarg2, etc.
  12.   ; _callout:    calls an external function, after first saving all registers,
  13. ***************
  14. *** 386,391 ****
  15. --- 387,403 ----
  16.       movem.l    d2/a2,-(sp)    ; save scratch registers
  17.       trap    #2
  18.       movem.l    (sp)+,d2/a2
  19. +     rts
  20. + ;
  21. + ; _call_dosound:
  22. + ;
  23. +     XDEF    _call_dosound
  24. + _call_dosound:
  25. +     move.l    4(sp),d0
  26. +     move.l    d0,-(sp)
  27. +     move.w    #32,-(sp)
  28. +     trap    #14
  29. +     addq.w    #6,sp
  30.       rts
  31.   
  32.   ;
  33.